/**
 * Created by Administrator on 2016/8/16.
 */

"use strict";
swan_pc
    .factory("smallEventManage",function($resource){
        return $resource("api/smallEvents/:id",{id:"@id"},{
            "get":{
                method:"GET"
            }
        })
    })
    .factory("CandidateUsersInSmallEvent",function($resource){
        return $resource("api/smallEvents/:id/candidateUsers",{id:"@id"},{
            "query":{
                method:"GET",
                isArray:true
            }
        })
    })
    .factory("OrgEventManage",function($resource){
        return $resource("api/smallEvents/:id",{id:"@id"},{
            "get":{
                method:"GET"
            }
        })
    })
    .factory("BigEventById",function($resource){
        return $resource("api/events/:id",{id:"@id"},{
            "get":{
                method:"GET"
            }
        })
    });
